﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Site.Models
{
    public class ModelClientValidationEmailAddressRule : ModelClientValidationRule
    {
        public ModelClientValidationEmailAddressRule(string errorMessage)
        {
            ErrorMessage = errorMessage;
            ValidationType = "email";
        }
    }
}
